<template>
  <div style="background-color: aquamarine; width: 100px; height: 100px" onclick="showAlert()">点击出现提示框</div>


</template>

<script>
  function showAlert() {
    alert('函数提示框');
  }
</script>

<style>


</style>
